﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShenLanCMS.Models
{
    /// <summary>
    /// 广告类型
    /// </summary>
    public class AdType
    {
        [System.ComponentModel.DataAnnotations.Key]
        public Guid AdTypeID { get; set; }

        [Required(ErrorMessage = "请填写{0}")]
        [Display(Name = "类型名称")]
        [StringLength(32, ErrorMessage = "类型名称不能超过{1}个字符")]
        public string TypeName { get; set; }
    }
}
